package com.ruicar.afs.cloud.afscase.channel.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.channel.condition.DrawerPartyCondition;
import com.ruicar.afs.cloud.afscase.channel.entity.DrawerParty;
import com.ruicar.afs.cloud.afscase.channel.vo.DrawerPartyVo;
import com.ruicar.afs.cloud.common.core.util.IResponse;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * @author: sang jian
 * @date: 2020/5/25 14:12
 * @description:
 */
@Service
public interface DrawerPartyService extends IService<DrawerParty> {
    IPage<DrawerPartyVo> getDrawerPartyList(Page page, DrawerPartyCondition condition);

    IResponse disableDrawerParty(Long[] ids);


    ArrayList<DrawerPartyVo> getCarDealerByChannelId(String id);

    String getChannelNameByChannelId(String id);

    IResponse getDrawerPartyByChannel(DrawerPartyCondition condition);
}
